package com.ws.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Note {

    private int nid;            //请假记录ID
    private String title;       //请假标题
    private String context;     //请假理由
    private Date startdate;     //请假开始时间
    private Date enddate;       //请假结束时间
    private float length;       //请假时长，天为单位，最小半天
    private Date subdate;       //提交申请时间
    private int status;         //审核状态，0：待审核；1：同意；2：打回；3：不同意
    private Date reldate;       //领导审批时间
    private int eid;            //请假员工ID，外键

    private String realname;  //用来获取员工的姓名

    private String position; //添加请假数据后用来跳转


}
